<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/admin.css'); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/main.css'); ?>">
<script type='text/javascript' src="<?php echo $this->_webroot('skin/js/jy.js'); ?>"></script>
<style>
td span {color:red;}
.green {color:green;}
.red {color:red;}
#divname{float:left; margin:0px;}
</style>
</head>
<body>
<input type="hidden" id="update_right" value="1" ></input>
<div id="maincontent">
	<div class="wrap">
       <div class="crumbs">当前位置 &gt;&gt; 网站管理 &gt;&gt; 修改消息</div>
        <hr />

	<div class="infobox">
<h3><span class="left">修改消息</span> <span style="margin-right:15px;" class="right"><a href="<?php echo $this->_url('admin/remind/index/');?>">站内消息管理</a></span></h3>
    <div class="content2">

		<form action="<?php echo $this->_url('admin/remind/remindedit/');?>" method="post" onsubmit="return checkForm();">
		<table class="form-table"> 
			<tr><input type="hidden" name="rinfo_id" value="<?php echo $row['id'];?>"/>
				<td width="70px" class="left">消息内容：</td>
				<td class="left"><textarea rows="6" cols="30" name="remind_info"><?php echo $row['remind_info'];?></textarea></td>
			</tr>
			<tr><td colspan="2"><span class="button-container"><input class="regular-button" type="submit" name="submit" value="修改消息" /></td></span></tr>
		</table>
		</form>	

		</div>
	 </div>		

		
	
	</div>
</div>
<script language="JavaScript">
<!--
function checkForm() {
	var cat_name = document.getElementsByName("remind_info")[0];
	if(cat_name.value=='') {
		ShowMessageBox("消息内容不能为空",'0');
		return false;
	}
	return true;
}
//-->
</script>
</body>
</html>